import 'package:flutter/material.dart';

Widget LoadingDialog({String? message = '数据加载中'}) {
  return Center(
    child: Column(
      mainAxisAlignment: MainAxisAlignment.center,
      children: [
        const CircularProgressIndicator(),
        Text(
          message!,
          style: const TextStyle(color: Colors.grey, fontSize: 12),
        )
      ],
    ),
  );
}
